package com.ys.enume.finance;

public class TcwWanliOtherPaymentEnum {
	
	public enum PayType {
		TOUMING("透明计划", 1),
		VAT("VAT", 2),
		OTHER("其他服务", 3);

		public String name;
		public Integer value;

		private PayType(String name, Integer value) {
			this.name = name;
			this.value = value;
		}

		public static String getName(int value) {
			for (PayType e : PayType.values()) {
				if (e.value == value) {
					return e.name;
				}
			}

			return "";
		}
	}
	
	public enum StateRunning {
		NOT("未生成", 0),
		YES("已生成", 1);

		public String name;
		public Integer value;

		private StateRunning(String name, Integer value) {
			this.name = name;
			this.value = value;
		}
	}
}
